header {
  z-index: 999;
}

.display-flex {
  display: flex;
}

.justify-wrap {
  flex-wrap: wrap;
}

.justify-center {
  justify-content: center;
}

.align-start {
  align-content: flex-start;
}

.margin-top {
  margin-top: 40px;
}

.padding {
  padding: 10px 10px;
}

.ell {
  -webkit-line-clamp: 2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.clearfix {
  content: "";
  display: block;
  height: 0;
  clear: both;
}

.banner {
  background-image: url(../images/citysearch/banner.gif);
  background-size: 100% 550px;
  padding-top: 60px;
}

.banner .banner .container {
  display: flex;
  justify-content: center;
}

.banner h1 {
  width: 45%;
  color: #fff;
  margin-top: 100px;
  margin-bottom: 50px;
}

.banner .city_search {
  position: relative;
  width: 60%;
}

.banner .city_search input {
  padding: 10px 20px;
  width: 100%;
  height: 60px;
  font-size: 20px;
  border: none;
  border-radius: 10px;
}

.banner .city_search .search_icon {
  position: absolute;
  width: 20%;
  height: 60px;
  background-color: #27AD66;
  padding: 15px;
  font-size: 20px;
  color: #fff;
  right: 0;
  top: 0;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
}

@media screen and (min-width: 780px) and (max-width: 1000px) {
  .banner h1 {
    font-size: 28px;
  }
  .banner .city_search input, .banner .city_search .search_icon {
    font-size: 16px;
    height: 45px;
  }
}

@media screen and (max-width: 780px) {
  .banner h1 {
    font-size: 22px;
  }
  .banner .city_search input, .banner .city_search .search_icon {
    font-size: 14px;
    height: 40px;
  }
  .banner .city_search .search_icon {
    padding: 8px;
  }
}

.hot_city .city-item {
  margin-top: 40px;
  border-radius: 50%;
  margin-bottom: 40px;
  position: relative;
  cursor: pointer;
}

.hot_city .city-item .city-img {
  width: 100%;
  border-radius: 50%;
}

.hot_city .city-item .style {
  position: absolute;
  bottom: 0;
  width: 90%;
  left: 5%;
}

.hot_city .city-item .nav {
  width: 100%;
}

.hot_city .city-item .introduce {
  width: 100%;
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
}

.hot_city .city-item .introduce h2 {
  font-size: 20px;
  margin: 0px;
}

.hot_city .city-item .introduce p {
  font-size: 12px;
}

.hot_city .city-item:hover img {
  transform: scale(1.2);
}

.hot_city .city-item:hover .style {
  transform: scale(1.2);
  bottom: -20px;
}

.city_ranklist .city-list {
  padding-left: 20%;
}

.city_ranklist .city-list .up {
  color: red;
}

.city_ranklist .city-list .down {
  color: green;
}

.city_ranklist h3 {
  margin-bottom: 25px;
  padding-left: 20px;
}

.city_ranklist p {
  font-size: 20px;
  display: block;
  margin-bottom: 20px;
}

.city_ranklist p a {
  display: inline-block;
  color: black;
  padding-left: 20px;
}

.scenery h2 {
  margin-top: 20px;
  margin-bottom: 60px;
}

.scenery .area {
  position: relative;
  overflow: hidden;
}

.scenery .area img {
  width: 100%;
}

.scenery .area .text {
  position: absolute;
  display: block;
  box-sizing: border-box;
  padding: 0 25px;
  color: white;
  bottom: 0;
  left: 0;
  z-index: 3;
  transform: translate(0, 50%);
}

.scenery .area .text h2 {
  font-size: 20px;
  margin-bottom: 10px;
  transition: transform 0.35s;
}

.scenery .area .text p {
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.35s,transform 0.35s;
}

.scenery .area .mask1 {
  position: absolute;
  box-sizing: border-box;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  padding: 0 15px;
  transform: translate(0, -50%);
  transition: transform 0.35s;
}

.scenery .area .mask1 .mask {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(72, 76, 97, 0) 0%, rgba(72, 76, 97, 0.8) 75%);
}

.scenery .area1:hover .text h2 {
  transform: translate(0, -100px);
}

.scenery .area1:hover .text p {
  opacity: 1;
  transform: translate(0, -100px);
}

.scenery .area2:hover .text h2 {
  transform: translate(0, -70px);
}

.scenery .area2:hover .text p {
  opacity: 1;
  transform: translate(0, -70px);
}

.scenery .area:hover .mask1 {
  transform: translate(0, -100%);
}

.recommend .note {
  background-color: #d0e17d;
  margin-top: 30px;
}

.recommend .mome {
  margin-top: 20px;
  background-color: #ffdf25;
}

.recommend .sticky {
  background-color: #36a9ce;
  margin-top: 60px;
}

.recommend .NOTES {
  background-color: #ef5aa1;
  margin-top: 40px;
}
